package com.sun.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sun.pojo.PmsProductCategory;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 产品分类 服务类
 * </p>
 *
 * @author 妙妙屋
 * @since 2021-12-27
 */
public interface IPmsProductCategoryService extends IService<PmsProductCategory> {

    List<PmsProductCategory> listChildren();

    Page<PmsProductCategory> list(Long parentId, String pageSize, String pageNum);

    void addRelation(Long id, Long id1);
}
